/*
* created by Administrator on 2018/12/3
* 好的代码像粥一样,是得用时间和精力熬的。
*/
const mongoose = require('mongoose');
const schemas = require('./schemas');
let createModel = (modelName, schema) =>mongoose.model(modelName, schema);
const User = createModel('User', schemas.userSchema);
module.exports = {
    User
};
